projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cdae1d
)
MIPS: initialize board_init_f() argument to zero.
author
Purna Chandra Mandal
<
[email protected]
>
Thu, 21 Jan 2016 14:32:51 +0000
(20:02 +0530)
committer
Daniel Schwierzeck
<
[email protected]
>
Mon, 1 Feb 2016 21:13:24 +0000
(22:13 +0100)
Argument boot_flags of board_init_f() should be set to 0 as
$a0 may be utilized in lowlevel_init() or mips_cache_reset()
or previous stage boot-loader.
Signed-off-by: Purna Chandra Mandal <
[email protected]
>
Signed-off-by: Daniel Schwierzeck <
[email protected]
>
arch/mips/cpu/start.S
patch
|
blob
|
history
diff --git
a/arch/mips/cpu/start.S
b/arch/mips/cpu/start.S
index e95cdca61eba2db1b88700c7d297558a09e405d1..2aa2dcbac16e6019a776b67361c8ad7775909683 100644
(file)
--- a/
arch/mips/cpu/start.S
+++ b/
arch/mips/cpu/start.S
@@
-185,7
+185,7
@@
reset:
PTR_ADDU t0, k0, GD_MALLOC_BASE # gd->malloc_base offset
sw sp, 0(t0)
#endif
-
+ move a0, zero # a0 <-- boot_flags = 0
PTR_LA t9, board_init_f
jr t9
move ra, zero